<script setup>
import { ElDrawer, drawerProps } from 'element-plus';

const props = defineProps(
  Object.assign(
    {
      id: {
        type: String,
        required: false
      }
    },
    drawerProps
  )
);
</script>
<template>
  <ElDrawer v-bind="{ ...$attrs, ...props }">
    <template v-for="(_, slot) in $slots" v-slot:[slot]="scope">
      <slot :name="slot" v-bind="scope"></slot>
    </template>
  </ElDrawer>
</template>

<style lang="scss" scoped></style>
